package com.minis.test;

import com.minis.beans.factory.annotation.Autowired;

public class BaseService {
    @Autowired
    private AServiceImpl aService;

    public AServiceImpl getaService() {
        return aService;
    }

//    public void setaService(AServiceImpl aService) {
//        this.aService = aService;
//    }

    public void sayHello() {
        aService.sayHello();
        System.out.println("BaseService sayHello after AService");
    }
}
